Return to doc.sitecore.com

Populating ListView fields in the Sitecore Client issue
Prev Next

Author: Andrey Kovalenko
Posted: 7/13/2006 9:40:14 AM

Populating the ListView type controls with a large number of items may cause the javascript error. To avoid the error, disable the client page output before populating the control with this code:

Sitecore.Context.ClientPage.ClientResponse.DisableOutput()

After populating, enable it with this code:

Sitecore.Context.ClientPage.ClientResponse.EnableOutput();

listview.Refresh(); // Sitecore.Web.UI.HtmlControls.Listview

Sitecore.Web.UI.HtmlControls.Listview listview is the control which should be populated.


Prev Next